package top.continew.admin.controller.specification;

import top.continew.admin.business.model.query.SpecificationTypeQuery;
import top.continew.admin.business.model.req.SpecificationTypeReq;
import top.continew.admin.business.model.resp.SpecificationTypeDetailResp;
import top.continew.admin.business.model.resp.SpecificationTypeResp;
import top.continew.admin.business.service.SpecificationTypeService;
import top.continew.admin.common.controller.BaseController;
import top.continew.starter.extension.crud.enums.Api;

import io.swagger.v3.oas.annotations.tags.Tag;

import org.springframework.web.bind.annotation.*;

import top.continew.starter.extension.crud.annotation.CrudRequestMapping;

/**
 * 规格类型管理 API
 *
 * @author sheng_chao
 * @since 2025/03/04 20:47Api.TREE,
 */
@Tag(name = "规格类型管理 API")
@RestController
@CrudRequestMapping(value = "/business/specificationType", api = {Api.PAGE, Api.LIST, Api.CREATE, Api.UPDATE, Api.DELETE, Api.EXPORT})
public class SpecificationTypeController extends BaseController<SpecificationTypeService, SpecificationTypeResp, SpecificationTypeDetailResp, SpecificationTypeQuery, SpecificationTypeReq> {}